package com.algebra.active.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.algebra.active.mapper.CurrenttaskMapper;
import com.algebra.active.domain.CurrentTask;
import com.algebra.active.service.CurrenttaskService;
/**
  * @author al
  * @date 2020/6/10 15:21
  * @description 
  */
@Service
public class CurrenttaskServiceImpl implements CurrenttaskService{

    @Resource
    private CurrenttaskMapper currenttaskMapper;

    @Override
    public int deleteByPrimaryKey(String businessId) {
        return currenttaskMapper.deleteByPrimaryKey(businessId);
    }

    @Override
    public int insert(CurrentTask record) {
        return currenttaskMapper.insert(record);
    }

    @Override
    public int insertSelective(CurrentTask record) {
        return currenttaskMapper.insertSelective(record);
    }

    @Override
    public CurrentTask selectByPrimaryKey(String businessId) {
        return currenttaskMapper.selectByPrimaryKey(businessId);
    }

    @Override
    public int updateByPrimaryKeySelective(CurrentTask record) {
        return currenttaskMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(CurrentTask record) {
        return currenttaskMapper.updateByPrimaryKey(record);
    }

}
